package com.dolphin.aiagentplatform.ai.constant;

public enum AgentTypeConst {

    CHAT("chat"),
    IMAGE("image");

    private final String agentType;

    AgentTypeConst(String agentType) {
        this.agentType = agentType;
    }

    public String getAgentType() {
        return agentType;
    }

    public static AgentTypeConst getByAgentType(String agentType) {
        for (AgentTypeConst agentTypeConst : values()) {
            if (agentTypeConst.getAgentType().equalsIgnoreCase(agentType)) {
                return agentTypeConst;
            }
        }
        return null;
    }
}
